import request from '@/utils/request'
import Vue from 'vue'

// 获取达人列表接口
export const getExpertList = data => {
    return request({
        url: Vue.prototype.$api.expert.index,
        method: 'post',
        data,
    })
}
// 获取达人详情接口
export const getExpertDetail = data => {
    return request({
        url: Vue.prototype.$api.expert.find,
        method: 'post',
        data,
    })
}
// 新增达人
export const addExpert = data => {
    return request({
        url: Vue.prototype.$api.expert.add,
        method: 'post',
        data,
    })
}
// 编辑达人
export const editExpert = data => {
    return request({
        url: Vue.prototype.$api.expert.edit,
        method: 'post',
        data,
    })
}
// 删除达人
export const delExpert = data => {
    return request({
        url: Vue.prototype.$api.expert.delete,
        method: 'post',
        data,
    })
}
// checkExpert
export const checkExpert = data => {
    return request({
        url: Vue.prototype.$api.expert.checkExpert,
        method: 'post',
        data,
    })
}
// getExpert
export const getExpert = data => {
    return request({
        url: Vue.prototype.$api.expert.getExpert,
        method: 'post',
        data,
    })
}
// getExpertCooperate
export const getExpertCooperate = data => {
    return request({
        url: Vue.prototype.$api.expert.getExpertCooperate,
        method: 'post',
        data,
    })
}
// getShop
export const getShop = data => {
    return request({
        url: Vue.prototype.$api.expert.getShop,
        method: 'post',
        data,
    })
}
// addExpertCooperate
export const addExpertCooperate = data => {
    return request({
        url: Vue.prototype.$api.expert.addExpertCooperate,
        method: 'post',
        data,
    })
}
// editExpertCooperate
export const editExpertCooperate = data => {
    return request({
        url: Vue.prototype.$api.expert.editExpertCooperate,
        method: 'post',
        data,
    })
}
// delExpertCooperate
export const delExpertCooperate = data => {
    return request({
        url: Vue.prototype.$api.expert.delExpertCooperate,
        method: 'post',
        data,
    })
}
// cooperateOrder
export const cooperateOrder = data => {
    return request({
        url: Vue.prototype.$api.expert.cooperateOrder,
        method: 'post',
        data,
    })
}
// addCooperateOrder
export const addCooperateOrder = data => {
    return request({
        url: Vue.prototype.$api.expert.addCooperateOrder,
        method: 'post',
        data,
    })
}
// editCooperateOrder
export const editCooperateOrder = data => {
    return request({
        url: Vue.prototype.$api.expert.editCooperateOrder,
        method: 'post',
        data,
    })
}
// delCooperateOrder+
export const delCooperateOrder = data => {
    return request({
        url: Vue.prototype.$api.expert.delCooperateOrder,
        method: 'post',
        data,
    })
}
// getAdvList
export const getAdvList = data => {
    return request({
        url: Vue.prototype.$api.expert.getAdvList,
        method: 'post',
        data,
    })
}
// addAdv
export const addAdv = data => {
    return request({
        url: Vue.prototype.$api.expert.addAdv,
        method: 'post',
        data,
    })
}
// editAdv
export const editAdv = data => {
    return request({
        url: Vue.prototype.$api.expert.editAdv,
        method: 'post',
        data,
    })
}
// delAdv
export const delAdv = data => {
    return request({
        url: Vue.prototype.$api.expert.delAdv,
        method: 'post',
        data,
    })
}
// getVideoList
export const getVideoList = data => {
    return request({
        url: Vue.prototype.$api.expert.getVideoList,
        method: 'post',
        data,
    })
}
// delVideo
export const delVideo = data => {
    return request({
        url: Vue.prototype.$api.expert.delVideo,
        method: 'post',
        data,
    })
}
// addVideo
export const addVideo = data => {
    return request({
        url: Vue.prototype.$api.expert.addVideo,
        method: 'post',
        data,
    })
}
// editVideo
export const editVideo = data => {
    return request({
        url: Vue.prototype.$api.expert.editVideo,
        method: 'post',
        data,
    })
}
// getPersonList
export const getPersonList = data => {
    return request({
        url: Vue.prototype.$api.expert.getPersonList,
        method: 'post',
        data,
    })
}
// getCooperateList
export const getCooperateList = data => {
    return request({
        url: Vue.prototype.$api.expert.getCooperateList,
        method: 'post',
        data,
    })
}
// getCooperateInfo
export const getCooperateInfo = data => {
    return request({
        url: Vue.prototype.$api.expert.getCooperateInfo,
        method: 'post',
        data,
    })
}
// getOrderCooperateInfo
export const getOrderCooperateInfo = data => {
    return request({
        url: Vue.prototype.$api.expert.getOrderCooperateInfo,
        method: 'post',
        data,
    })
}
// editExpertTags
export const editExpertTags = data => {
    return request({
        url: Vue.prototype.$api.expert.editExpertTags,
        method: 'post',
        data,
    })
}
// getTags
export const getTags = data => {
    return request({
        url: Vue.prototype.$api.expert.getTags,
        method: 'post',
        data,
    })
}